<?php
// +----------------------------------------------------------------------
// | ThinkPHP [ WE CAN DO IT JUST THINK ]
// +----------------------------------------------------------------------
// | Copyright (c) 2006~2016 http://thinkphp.cn All rights reserved.
// +----------------------------------------------------------------------
// | Licensed ( http://www.apache.org/licenses/LICENSE-2.0 )
// +----------------------------------------------------------------------
// | Author: liu21st <liu21st@gmail.com>
// +----------------------------------------------------------------------

use think\Route;

//测试接口
Route::get('api/demo','api/demo/index');

Route::get('api/user','api/GetUser/index');

Route::post('api/login','api/auth/login');
//获取行程
Route::get('api/gettravel','api/user/getTravel');
//司机认证
Route::post('api/create/driver','api/driver/driverRig');
//发起订单
Route::post('api/create/order', 'api/user/createOrder');
//司机接单
Route::post('api/driver/getorder','api/driver/getOrder');